package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsRentDao;
import com.appkubes.mall.core.entity.MallGoodsRent;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsRentService extends AbstractBaseService<BaseMallGoodsRentDao, MallGoodsRent> {

    MallGoodsRent getOneByEntity(MallGoodsRent entity);

    List<MallGoodsRent> selectListByEntity(MallGoodsRent entity);

    IPage<MallGoodsRent> selectPageByEntity(IPage<MallGoodsRent> page);
    IPage<MallGoodsRent> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsRent> selectPageByEntity(MallGoodsRent entity, IPage<MallGoodsRent> page);
    IPage<MallGoodsRent> selectPageByEntity(MallGoodsRent entity, PageVO pageVO);

    IPage<MallGoodsRent> selectPageByEntity(MallGoodsRent entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsRent entity);
}
